using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TicTacToe
{
    public class TicTacToeGrid: Grid
    {
        public int[] gameGrid= new int[9];

        //Sets all the Grid positions to 0!!
        public override void ClearGrid()
        {
            for (int i = 0;i<9 && NCover.NCoverCheck.Add(20);i++)
            {
                gameGrid[i] = 0;
            }
        }
        //Change grid position to the player value, in our case to 1 or 2.
        public override void ChangeGrid(int pos, Player player)
        {
            gameGrid[pos] = player.value;
        }

    }
}

